//导入vue框架
import Vue from "vue";

//导入vue-router插件并使用
import VueRouter from "vue-router";
Vue.use(VueRouter);

//导入vue-resousrce vue的ajax模块封装
import VueResource from "vue-resource";
Vue.use(VueResource);

//导入vue-router模块
import router from "./js/router.js";

// 导入mint-ui 与他的css样式
import Mint from "mint-ui";
import "mint-ui/lib/style.css";

//导入mui的css样式
import "../lib/mui/css/mui.css";
// 引入扩展图标样式
import "../lib/mui/css/icons-extra.css";

//导入bootstratp的css样式
// import "bootstrap/dist/css/bootstrap.css";

//导入自定义的vue组件
import app from "./js/app.vue";

Vue.use(Mint);

let vue = new Vue({
  el: "#app",
  data: {},
  methods: {
    show() {
      console.log(1);
    }
  },
  render: c => c(app),
  router
});
